﻿ @*
 * ---------------------------------------------------
 * 代码自动生成  请不要手动修改代码
 * 作者: MTQ 
 * 日期： 2016/5/24 22:28:45 
 * ---------------------------------------------------
 *@
   @model MTQ.Model.Base_Menu    
    
   @{     
    ViewBag.Title = "Create"; 
    Layout = "~/Areas/Admin/Views/Shared/_LayoutManager.cshtml";    
    }    
<script type="text/javascript">
    function submitFormCreate(obj) {
   $("input[name='Base_MenuContent']").val($("div[name='Base_MenuContent']").code());
        manageFormCommit(obj, "/Admin/Base_Menu/Create", $("#spanMsg"), $("table[name='table_Base_Menu']"));
    }
</script>
<div class="tab-pane">           
    <div class="portlet box blue ">           
        <div class="portlet-title">           
            <div class="caption">           
                <i class="fa fa-gift"></i>Create           
            </div>           
            <div class="tools">           
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>     
            </div>           
        </div>           
        <div class="portlet-body form">           
              <!-- BEGIN FORM-->                                                          
                                                                                          
                                                                                          
                                                                                          
 @using (Html.BeginForm(null, null, FormMethod.Post, new { @class = "form-horizontal form-bordered form-row-stripped" })) 
 {           
     @Html.ValidationSummary(true)                                       
                                                                         
     <fieldset>                                                          
         <legend style="display: none"></legend>                       
         <div class="form-body">                               
             <div class="form-group"   style=" display:none; "     >     
                 <label class="col-md-3 control-label">@MTQ.BLL.B_LocalService.GetWord("Base_MenuGUID", @ViewBag.CultureInfoName)</label>  
                 <div class="col-md-5"> 
                    @Html.TextBoxFor(model => model.Base_MenuGUID, new { @class = "form-control", placeholder = "Enter Base_MenuGUID" })       
                 </div>    
             </div>     
             <div class="form-group"     >     
                 <label class="col-md-3 control-label">@MTQ.BLL.B_LocalService.GetWord("Base_MenuName", @ViewBag.CultureInfoName)</label>  
                 <div class="col-md-5"> 
                    @Html.TextBoxFor(model => model.Base_MenuName, new { @class = "form-control", placeholder = "Enter Base_MenuName" })       
                 </div>    
             </div>     
             <div class="form-group"     >     
                 <label class="col-md-3 control-label">@MTQ.BLL.B_LocalService.GetWord("Base_MenuUrl", @ViewBag.CultureInfoName)</label>  
                 <div class="col-md-5"> 
                    @Html.TextBoxFor(model => model.Base_MenuUrl, new { @class = "form-control", placeholder = "Enter Base_MenuUrl" })       
                 </div>    
             </div>     
             <div class="form-group"     >     
                 <label class="col-md-3 control-label">@MTQ.BLL.B_LocalService.GetWord("Base_MenuIcoPath", @ViewBag.CultureInfoName)</label>  
                 <div class="col-md-5"> 
                    @Html.TextBoxFor(model => model.Base_MenuIcoPath, new { @class = "form-control", placeholder = "Enter Base_MenuIcoPath" })       
                 </div>    
             </div>     
             <div class="form-group"     >     
                 <label class="col-md-3 control-label">@MTQ.BLL.B_LocalService.GetWord("Base_MenuContent", @ViewBag.CultureInfoName)</label>  
                 <div class="col-md-9"> 
                    @Html.TextBoxFor(model => model.Base_MenuContent, new { @class = "form-control",@style="display:none;" , placeholder = "Enter Base_MenuContent" })       
                   <div class="summernote" name="Base_MenuContent" > 
          		</div> 
                 </div>    
             </div>     
             <div class="form-group"     >     
                 <label class="col-md-3 control-label">@MTQ.BLL.B_LocalService.GetWord("Base_MenuSort", @ViewBag.CultureInfoName)</label>  
                 <div class="col-md-5"> 
                    @Html.TextBoxFor(model => model.Base_MenuSort, new { @class = "form-control", placeholder = "Enter Base_MenuSort" })       
                 </div>    
             </div>     
             <div class="form-group"     >     
                 <label class="col-md-3 control-label">@MTQ.BLL.B_LocalService.GetWord("Base_MenuRemark", @ViewBag.CultureInfoName)</label>  
                 <div class="col-md-5"> 
                    @Html.TextBoxFor(model => model.Base_MenuRemark, new { @class = "form-control", placeholder = "Enter Base_MenuRemark" })       
                 </div>    
             </div>     
             <div class="form-group"     >     
                 <label class="col-md-3 control-label">@MTQ.BLL.B_LocalService.GetWord("Base_MenuParentGUID", @ViewBag.CultureInfoName)</label>  
                 <div class="col-md-5"> 
                    @Html.TextBoxFor(model => model.Base_MenuParentGUID, new { @class = "form-control", placeholder = "Enter Base_MenuParentGUID" })       
                 </div>    
             </div>     
             <div class="form-group"     >     
                 <label class="col-md-3 control-label">@MTQ.BLL.B_LocalService.GetWord("Base_MenuAvailable", @ViewBag.CultureInfoName)</label>  
                 <div class="col-md-5"> 
                    @Html.DropDownListFor(model => model.Base_MenuAvailable, ViewBag.ListAvailable as IEnumerable<SelectListItem>,new { @class = "select2_category  form-control", @tabindex="1",placeholder = "Enter Base_MenuAvailable" })       
                 </div>    
             </div>     
          </div>                                                  
                                                                  
         <div class="form-actions" >                            
             <div class="row">                                  
                  <div class="col-md-offset-3 col-md-9">        
             <button type="button" class="btn green-meadow" onclick="submitFormCreate(this)"><i class="fa fa-check"></i>确认</button>    
             <button type="button" class="btn green-meadow" data-dismiss="modal" style="margin-left: 70px;">关闭</button> 
                 </div>                                                                                  
         </div>                                                                                   
            </div>                                                                                       
     </fieldset>                                                                                  
 } 
     </div>                                                                                             
      </div>                                                                                            
   </div>                                                                                               
   <script>                                                                                               
           FormSamples.init();                                                   
        ComponentsEditors.init();     
           $(function () {                                      
                                                 
                                                 
        $("div[name='Base_MenuContent']").code($("input[name='Base_MenuContent']").val()); 
           });                                      
   </script>                                                  

